#ifndef WAVE_HELPER_H
#define WAVE_HELPER_H

typedef struct FmtHeaderStr
{
	char	fmt[4];
	int		fmtLen;
	short	format;
	short		chan;
	int		smpRate;
	int		bps;
	short		align;
	short		bits;
}FmtHeader;

typedef struct WaveHeaderStr
{
	char	riff[4];
	int		wavLen;
	char	wave[4];
}WaveHeader;


void writeWaveFile(short* data,int len,char* path);
#endif
